package highscore;

import java.util.ArrayList;

import javax.swing.JPanel;


@SuppressWarnings("serial")
public class HighScore extends JPanel
{
	private String query = "Select * from highscores";
	
	public HighScore()
	{
		DB.connect();
		ArrayList<String[]> list = DB.getTableData(query);
		for(int i=0; i<list.size(); i++)
		{
			String[] array = list.get(i);
			System.out.println(array[0]+" "+array[1]+" "+array[2]);
		}
	}
	
}
